package com.zengjin.test.model.en;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;

/**
 * @author 19324
 */
@Data
public class User implements Serializable {
    @Serial
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
    /**
     * 管理员唯一标识，主键，自增长整数类型。
     */
    @TableId
    private Long userId;

    private String name;
    private int age;
    private String sex;
    private String address;

    /**
     *
     */
    private Date createTime;
    /**
     *
     */
    private Date updateTime;
    /**
     *
     */
    //    逻辑删除
    @TableLogic
    private Integer isDeleted;
}
